projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a05f4ab
)
mx6: Fix use of improper value in enable_ipu_clock
author
Pierre Aubert
<
[email protected]
>
Mon, 23 Sep 2013 11:37:20 +0000
(13:37 +0200)
committer
Stefano Babic
<
[email protected]
>
Fri, 27 Sep 2013 11:53:35 +0000
(13:53 +0200)
The value MXC_CCM_CCGR3_IPU1_IPU_DI0_OFFSET that was used to initialize
the CCGR3 register caused an undefined value for CG0.
Signed-off-by: Pierre Aubert <
[email protected]
>
CC: Stefano Babic <
[email protected]
>
Acked-by: Eric Nelson <
[email protected]
>
arch/arm/cpu/armv7/mx6/clock.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv7/mx6/clock.c
b/arch/arm/cpu/armv7/mx6/clock.c
index 010d93208ecb46d71265016c738aa367c2b98116..df11678609b060b75af3ae12b13a8cca94c75b6c 100644
(file)
--- a/
arch/arm/cpu/armv7/mx6/clock.c
+++ b/
arch/arm/cpu/armv7/mx6/clock.c
@@
-487,7
+487,7
@@
void enable_ipu_clock(void)
struct mxc_ccm_reg *mxc_ccm = (struct mxc_ccm_reg *)CCM_BASE_ADDR;
int reg;
reg = readl(&mxc_ccm->CCGR3);
- reg |= MXC_CCM_CCGR3_IPU1_IPU_
DI0_OFFSET
;
+ reg |= MXC_CCM_CCGR3_IPU1_IPU_
MASK
;
writel(reg, &mxc_ccm->CCGR3);
}
/***************************************************/